import json
from config import BASE_DIR


def read_json(filename):
    with open(filename,encoding="UTF8") as f:
        data_list = json.load(f)
        temp_list = []
        for i in data_list:
            temp = tuple(i.values())
            temp_list.append(temp)
    return temp_list
if __name__ == '__main__':
    print(read_json(BASE_DIR + r"\data\emp_add_data.json"))